package com.github.hwangrq.minicat.container;

import java.util.ArrayList;
import java.util.List;

/**
 * @author hwangrq
 * @date 2021/3/16 23:17
 * @description
 */
public class Context {

    private String contextName;

    private String contextPath;

    private List<Wrapper> wrappers = new ArrayList<>();

    public String getContextName() {
        return contextName;
    }

    public void setContextName(String contextName) {
        this.contextName = contextName;
    }

    public String getContextPath() {
        return contextPath;
    }

    public void setContextPath(String contextPath) {
        this.contextPath = contextPath;
    }

    public List<Wrapper> getWrappers() {
        return wrappers;
    }

    public void setWrappers(List<Wrapper> wrappers) {
        this.wrappers = wrappers;
    }

    public void addWrapper(Wrapper wrapper) {
        wrappers.add(wrapper);
    }

}
